package com.cloudkinto.appletservice.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudkinto.appletservice.order.vo.amazon.AppletAmazonOrderDetailRes;
import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.entity.OrderAmazonDo;
import com.cloudkinto.service.order.vo.amazon.AmazonOrderDetailRes;
import com.cloudkinto.service.order.vo.amazon.AmazonOrderDownReq;
import com.cloudkinto.service.order.vo.amazon.OrderAmazonExcelReq;
import com.cloudkinto.service.order.vo.amazon.UpdateSysMemoReq;
import com.cloudkinto.service.orderoutput.vo.OrderOutputAddReq;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author 张永远
 * @since 2020-06-02
 */
public interface AppletOrderAmazonService extends IService<OrderAmazonDo> {

    SingleResult addInit(Long userId, Long companyId);


    SingleResult markSendOut(List<Long> ids, Long userId);



    SingleResult sendOut(String id, Long userId, Long companyId, boolean isAuto);
    SingleResult sendOutNopackage(String ids, Long userId, Long companyId);

    SingleResult sendOutMatch(List<OrderOutputAddReq> orderOutputAddReqList, Long userId);


    AppletAmazonOrderDetailRes detail(Long id);

    SingleResult pageInit();

    PageResult getListPage(Map<String, String> map);

    SingleResult updateSysMemo(UpdateSysMemoReq req, Long userId, Long companyId);

    SingleResult systemMemoInit(Long id);
}
